package com.lfnyxy.dao;

        import com.lfnyxy.entity.ServerEntity;
        import com.lfnyxy.query.ServerQuery;
        import com.lfnyxy.vo.ServerVo;
        import org.apache.ibatis.annotations.Param;

        import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface ServerDao {
    int CreateItem(ServerEntity entity);

    int UpdateItem(ServerEntity entity);

    List <ServerVo> QueryPageList(ServerQuery query);

    List <ServerEntity> QueryAll();

    int QueryPageListCount(ServerQuery query);

    int CheckIsExist(ServerEntity entity);

    ServerEntity QueryItem(int Id);

    int DeleteItem(int Id);
}